import axios from '@/libs/api.request'

export const getOfficeStatistics = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCardInfoService/getOfficeStatistics',
    method: 'post',
    data: param
  })
}
export const getGardenNum = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCardInfoService/getGardenNum',
    method: 'post',
    data: param
  })
}
export const getBuildingNum = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCardInfoService/getBuildingNum',
    method: 'post',
    data: param
  })
}
export const getDoorplateNumCommunity = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCardInfoService/getDoorplateNumCommunity',
    method: 'post',
    data: param
  })
}
export const getDoorplateNumCun = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCardInfoService/getDoorplateNumCun',
    method: 'post',
    data: param
  })
}
export const getUserNumCommunity = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCardInfoService/getUserNumCommunity',
    method: 'post',
    data: param
  })
}
export const getUserNumCun = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCardInfoService/getUserNumCun',
    method: 'post',
    data: param
  })
}
export const findColumnsList = (param) => {
  return axios.request({
    url: '/api/as/grid/gridCustomizedStatistics/findColumnsList',
    method: 'post',
    data: param
  })
}
export const findTemplateList = (param) => {
  return axios.request({
    url: '/api/as/grid/gridCustomizedStatistics/findTemplateList',
    method: 'post',
    data: param
  })
}
export const saveTemplate = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCustomizedStatisticsService/saveTemplate',
    method: 'post',
    data: param
  })
}
export const saveTemplateDetail = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCustomizedStatisticsService/saveTemplateDetail',
    method: 'post',
    data: param
  })
}
export const deleteTemplate = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCustomizedStatisticsService/deleteTemplate',
    method: 'post',
    data: param
  })
}
export const createGenerateTemplate = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCustomizedStatisticsService/createGenerateTemplate',
    method: 'post',
    data: param
  })
}
export const createSelectResult = (param) => {
  return axios.request({
    url: '/api/ac/grid/gridCustomizedStatisticsService/createSelectResult',
    method: 'post',
    data: param
  })
}
export const getCompanyInfo = (param) => {
  return axios.request({
    url: '/api/uc/grid/gridCardInfoService/getCompanyInfo',
    method: 'post',
    data: param
  })
}
export const findDictList = (url, param) => {
  return axios.request({
    url: url,
    method: 'post',
    data: param
  })
}
export const findTemplateDetailList = (param) => {
  return axios.request({
    url: '/api/as/grid/gridCustomizedStatistics/findTemplateDetailList',
    method: 'post',
    data: param
  })
}
